﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLibrary.Wf.Common
{
    /// <summary>
    /// 专门处理消息处理的委托
    /// </summary>
    /// <param name="e"></param>
    public delegate void MessagePassEventHandler(MessagePassEventArgs e);

    /// <summary>
    /// 消息传递委托的参数，接受object类型的数据
    /// </summary>
    public class MessagePassEventArgs : EventArgs
    {
        public object PassData { set; get; }

        public MessagePassEventArgs(object passData)
        {
            this.PassData = passData;
        }
    }
}
